package cn.lg.soar.system.api.model;

import cn.lg.soar.common.model.base.TreeDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author luguoxiang
 * @date 2022/1/2
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class MenuDTO extends TreeDTO {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("类型")
    private Integer type;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("名称(标题)")
    private String title;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("是否隐藏")
    private Boolean hidden;

    @ApiModelProperty("是否隐藏子菜单")
    private Boolean hideChildren;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("系统的")
    private Boolean inherent;

}
